package com.personal.gateway.flinkAllCommand.configurationOption.configurationType;

import com.personal.gateway.flinkAllCommand.configurationOption.ConfigurationOption;

/**
 * @author BigHead
 * @date 2022/1/10 16:12
 * @description ConfigurationTypeDouble
 */
public class ConfigurationTypeDouble extends AbstractConfigurationType<Double> {
    public ConfigurationTypeDouble() {
        super(Double.class);
    }

    @Override
    public String getTypeString() {
        return "Double";
    }

    @Override
    public void setValue(Double value) {
        this.value = value;
    }

    @Override
    public void setExampleValue(Double... exampleValue) {
        this.exampleValue = exampleValue;
    }

    @Override
    public Double[] getExampleValue(ConfigurationOption<?, ?> configurationOption) {
        return new Double[0];
    }
}
